library ieee;
use ieee.std_logic_1164.all;

ENTITY compare is

PORT (clock, reset: IN STD_LOGIC;
      comparevalue: IN STD_LOGIC_VECTOR(47 downto 0);
      current: IN STD_LOGIC_VECTOR(47 downto 0);
      z: OUT STD_LOGIC
);
END compare;    

architecture structural of compare is

begin 


z<=	(comparevalue(0) XNOR current(0)) AND 
	(comparevalue(1) XNOR current(1)) AND
	(comparevalue(2) XNOR current(2)) AND
	(comparevalue(3) XNOR current(3)) AND  
	(comparevalue(4) XNOR current(4)) AND 
	(comparevalue(5) XNOR current(5)) AND
	(comparevalue(6) XNOR current(6)) AND
	(comparevalue(7) XNOR current(7)) AND
	(comparevalue(8) XNOR current(8)) AND
	(comparevalue(9) XNOR current(9)) AND
	(comparevalue(10) XNOR current(10)) AND
	(comparevalue(11) XNOR current(11)) AND
	(comparevalue(12) XNOR current(12)) AND
	(comparevalue(13) XNOR current(13)) AND
	(comparevalue(14) XNOR current(14)) AND
	(comparevalue(15) XNOR current(15)) AND
	(comparevalue(16) XNOR current(16)) AND
	(comparevalue(17) XNOR current(17)) AND
	(comparevalue(18) XNOR current(18)) AND
	(comparevalue(19) XNOR current(19)) AND
	(comparevalue(20) XNOR current(20)) AND
	(comparevalue(21) XNOR current(21)) AND
	(comparevalue(22) XNOR current(22)) AND
	(comparevalue(23) XNOR current(23)) AND
	(comparevalue(24) XNOR current(24)) AND
	(comparevalue(25) XNOR current(25)) AND
	(comparevalue(26) XNOR current(26)) AND
	(comparevalue(27) XNOR current(27)) AND
	(comparevalue(28) XNOR current(28)) AND
	(comparevalue(29) XNOR current(29)) AND
	(comparevalue(30) XNOR current(30)) AND
	(comparevalue(31) XNOR current(31)) AND
	(comparevalue(32) XNOR current(32)) AND
	(comparevalue(33) XNOR current(33)) AND
	(comparevalue(34) XNOR current(34)) AND
	(comparevalue(35) XNOR current(35)) AND
	(comparevalue(36) XNOR current(36)) AND
	(comparevalue(37) XNOR current(37)) AND
	(comparevalue(38) XNOR current(38)) AND
	(comparevalue(39) XNOR current(39)) AND
	(comparevalue(40) XNOR current(40)) AND
	(comparevalue(41) XNOR current(41)) AND
	(comparevalue(42) XNOR current(42)) AND 
	(comparevalue(43) XNOR current(43)) AND
	(comparevalue(44) XNOR current(44)) AND
	(comparevalue(45) XNOR current(45)) AND
	(comparevalue(46) XNOR current(46)) AND
	(comparevalue(47) XNOR current(47));
	
end structural;
